<?php

include __SITE_PATH . '/system/controller.php';
include __SITE_PATH . '/system/registry.php';
include __SITE_PATH . '/system/router.php';
include __SITE_PATH . '/system/template.php';

//function __autoload($class_name) {
//	$filename = strtolower($class_name) . ".php";
//	$file = "${__SITE_PATH}/model/$filename";
//
//	if (!file_exists($file)) return false;
//
//	include ($file);
//}

$registry = new Registry();

// TODO: fill in DB
//$registry->db = db::getInstance();

?>